package com.mercury.coffee.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author 童
 * @createTime 2021/11/9 9:15
 * @projectName coffee-parent
 * @className CoffeeWrapper.java
 * @description 用于查询咖啡豆，实现模糊查询或者根据标签查询
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="coffee 查询类", description="")
public class CoffeeWrapper {
    @ApiModelProperty(value = "咖啡名称，模糊查询")
    private String name;

    @ApiModelProperty(value = "咖啡标签")
    private List<String> types;

}
